package com.huilian.iotbox.admin.wap.service.impl;

import com.huilian.iotbox.admin.wap.dao.BaudDao;
import com.huilian.iotbox.admin.wap.service.BaudService;
import com.huilian.iotbox.data.common.ServerResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenqiwen
 * @CreateDate: 2021-04-30-16-52
 * @Description:
 */
@Service
public class BaudServiceImpl implements BaudService {

    @Autowired
    private BaudDao baudDao;

    @Override
    public ServerResponse findAll() {
        return ServerResponse.createBySuccess(baudDao.findAll());
    }
}
